home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 February
/
EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso
/
enigma
/
earcd
/
utility
/
utilrexx
/
mimonoff.lha
/
miamionoff
/
InstallMe.dos
next >
Wrap
Text File
|
1996-11-09
|
3KB
|
122 lines
; DOS installer script for
;
; Miami online and offline dos/arexx scripts
;
; By Kenneth C. Nilsen (9.11.96)
failat 25
echo ""
echo "Welcome to the installer script for the scripts:"
echo "Online and Offline for Miami."
echo ""
echo "These script will let you go online and offline from the CLI/Shell."
echo ""
echo "'Online' will start Miami if it's not running and then send arexx"
echo "commands to it telling it to go online."
echo ""
echo "'Offline' will check if Miami is running and if so it'll check if it's"
echo "online or not. If online it will tell it to stop."
echo ""
echo "This installscript will copy the files where they should be."
echo ""
echo ""
echo "Do you want to continue ? " NOLINE
ask "(y/N)"
IF NOT WARN
echo "Script terminated! Bye bye."
skip bye
endif
echo ""
echo "Ok, here we go... please wait!"
echo ""
echo "Checking C:WaitForPort................ " NOLINE
if not exists "c:WaitForPort"
echo "copying"
copy c/WaitForPort c: quiet
else
echo "already exists! skipping.."
endif
echo "Checking C:GetIP...................... " NOLINE
if not exists "c:GetIP"
echo "copying"
copy c/GetIP c: quiet
else
echo "already exists! skipping.."
endif
echo "Checking Libs:dfunc.library (GetIP)... " NOLINE
if not exists "libs:dfunc.library"
echo "copying"
copy libs/dfunc.library libs: quiet
else
echo "already exists! skipping.."
endif
echo "Checking S:Online..................... " NOLINE
if not exists "s:Online"
echo "copying"
copy s/Online s: quiet
protect s:Online s add
echo >>S:Online "GetIP `getenv LogPath`"
echo >>S:Online "; GetIP requires dfunc.library.."
else
echo "already exists! skipping.."
endif
echo "Checking S:Offline.................... " NOLINE
if not exists "s:Offline"
echo "copying"
copy s/Offline s: quiet
protect s:Offline s add
else
echo "already exists! skipping.."
endif
echo "Checking Sys:Rexx/MiamiOnline.rexx ... " NOLINE
if not exists "Sys:rexx/MiamiOnline.rexx"
echo "copying"
copy rexx/MiamiOnline.rexx Sys:rexx/ quiet
else
echo "already exists! skipping.."
endif
echo "Checking Sys:Rexx/MiamiOffline.rexx .. " NOLINE
if not exists "Sys:rexx/MiamiOffline.rexx"
echo "copying"
copy rexx/MiamiOffline.rexx Sys:rexx/ quiet
else
echo "already exists! skipping.."
endif
echo "Done!"
echo ""
echo "No type 'Online' or 'Offline' in CLI to activate them."
echo "There is no need to use 'execute' in front."
echo ""
echo "You need these files to get these scripts to work:"
echo ""
echo "- 'Miami' (of course, remember to change the path of the program"
echo " in rexx:MiamiOnline.rexx and rexx:MiamiOffline.rexx !!)"
echo "- 'RexxMast' running"
echo "- The 'RX' command in the command search path"
echo "- Also remember to set dialup log dump to 'T:IP' to get your IP address."
echo ""
echo "If any problems e-mail me at: kennecni@IDGonline.no"
echo ""
echo "Have fun!"
echo ""
lab bye